package com.yipao.admin.vo.lbs;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * 腾讯地图数据
 *
 * @author y.x
 * @date 2019/9/16
 */
public class LbsSearchDataVo {
    @JSONField(name = "adcode")
    private String adCode;
    private String address;
    private String city;
    @JSONField(name = "create_time")
    private Long createTime;
    private String district;
    private JSONObject x;
    /**
     * 地址
     * {"lng": 114.04522,
     * "lat": 22.62882}
     */
    private JSONObject location;
    /**
     * 小区id 原本腾讯地图数据id
     */
    @JSONField(name = "ud_id")
    private String id;
    /**
     * 电话
     */
    private String tel;
    /**
     * 小区名称
     */
    @JSONField(name = "title")
    private String name;

    public String getAdCode() {
        return adCode;
    }

    public void setAdCode(String adCode) {
        this.adCode = adCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public JSONObject getX() {
        return x;
    }

    public void setX(JSONObject x) {
        this.x = x;
    }

    public JSONObject getLocation() {
        return location;
    }

    public void setLocation(JSONObject location) {
        this.location = location;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
